package com.zy.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
@ConfigurationProperties(prefix = "person")
public class Person {
    private int id;             //用户id
    private boolean gender;     //true 男; false 女;
    private Date registerTime;  //注册时间
    private List<PushContent> browsingHistory;   //浏览历史
    private int[] follow;       //关注id
    private int[] fans;         //粉丝id
}
